<?php
//Name: logout.php
//Purpose: This script is for loggging a user out of the application
//CreateDate: 10/01/12
session_name('login');
session_start();
unset($_SESSION['username']);
unset($_SESSION['isAdmin']);
unset($_SESSION['invalidLogin']);
session_write_close();
header("location: /home.php");
exit;
 
?>